package com.zl.service;

import com.zl.common.Result;
import com.zl.dto.TsUserDto;
import com.zl.entity.TsUser;

public interface UserService {

    Result create(TsUserDto resources);

    Result update(TsUserDto resources);

    Result delete(Long id);

    Result updatePass(String username, String newPaas);

    Result updateAvatar(String username, String s);

    TsUser findByName(String username);
}
